package com.bdjk.bdmw.InfoGath.business.heremi.service.impl;

import com.bdjk.bdmw.InfoGath.business.heremi.dao.HereMiPositionDAO;
import com.bdjk.bdmw.InfoGath.business.heremi.dao.impl.HereMiPositionDAOImpl;
import com.bdjk.bdmw.InfoGath.business.heremi.model.HereMiPositionModel;
import com.bdjk.bdmw.InfoGath.business.heremi.service.HereMiPositionService;


public class HereMiPositionServiceImpl implements HereMiPositionService{

	private HereMiPositionDAO hereMiPositionDAO = new HereMiPositionDAOImpl();

	@Override
	public int saveMessage(HereMiPositionModel model) {
		// TODO Auto-generated method stub
		int positionId=hereMiPositionDAO.savePosition(model);
		hereMiPositionDAO.saveExtension(model, positionId);
		return 0;
	}

	@Override
	public int savePosition(HereMiPositionModel model) {
		// TODO Auto-generated method stub
		return hereMiPositionDAO.savePosition(model);
	}

	

	

	
	
	
}
